package com.shrio.demo.controller;

import com.shrio.demo.base.XbootBaseController;
import com.shrio.demo.common.util.PageUtil;
import com.shrio.demo.common.util.ResultUtil;
import com.shrio.demo.common.vo.PageVo;
import com.shrio.demo.common.vo.Result;
import com.shrio.demo.entity.merchant;
import com.shrio.demo.service.merchantService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.domain.Page;
import org.springframework.web.bind.annotation.*;
import org.springframework.transaction.annotation.Transactional;


/**
 * @author yw
 */
@RestController
@RequestMapping("/yw/merchant")
@Transactional
public class merchantController extends XbootBaseController<merchant, Integer>{

    @Autowired
    private merchantService merchantService;

    @Override
    public merchantService getService() {
        return merchantService;
    }

}
